package com.distribute.portal.service;


import java.util.List;
import java.util.Set;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.http.protocol.HTTP;

import com.distribute.common.pojo.DistributeResult;
import com.distribute.pojo.ColumnData;
import com.distribute.portal.pojo.CollectionItem;

import redis.clients.jedis.Tuple;

public interface CollectionService {
	public List<CollectionItem> getCollectionItemList(HttpServletRequest request, HttpServletResponse response);
	public DistributeResult addCollectionItem(Long itemId,HttpServletRequest request,HttpServletResponse response);
	public DistributeResult deleteCollectionItem(Long itemId, HttpServletRequest request, HttpServletResponse response);
	public boolean getCollectionItemById(Long itemId,HttpServletRequest request,HttpServletResponse response);
	public List<ColumnData> getCollectionRevRange(long start, long end);
}
